package com.daka.dao;

import com.daka.entity.VolunteerWelfare;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "volunteerWelfareDao")
@SQLMapper
public interface VolunteerWelfareDao {
    int deleteByPrimaryKey(Long id);

    int insert(VolunteerWelfare record);

    int insertBatch(List<VolunteerWelfare> volunteerWelfare);

    int insertSelective(VolunteerWelfare record);

    VolunteerWelfare selectByPrimaryKey(Long id);

    List<VolunteerWelfare> selectByStatement(VolunteerWelfare record);

    int selectByStatementCount(VolunteerWelfare record);

    int updateByPrimaryKeySelective(VolunteerWelfare record);
}